#include<iostream>
#include<cmath>
using namespace std;
double pi = 3.1415926;
int main()
{
	cout << cos(pi/3) << endl;
	return 0;
}